package com.leileimann.tour.entity;

import org.neo4j.ogm.annotation.NodeEntity;

import java.util.List;

/**
 * @author leileiMann
 * @date 2022/3/7 15:25
 */
@NodeEntity
public class City {
    private Long id;
    private String cityname;
    private String sspotname;
    private String picture;
    /**城市简介*/
    private String introduce;
    private List<City> cities;


    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCityname() {
        return cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname;
    }

    public String getSspotname() {
        return sspotname;
    }

    public void setSspotname(String sspotname) {
        this.sspotname = sspotname;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public List<City> getCities() {
        return cities;
    }

    public void setCities(List<City> cities) {
        this.cities = cities;
    }

    @Override
    public String toString() {
        return "City{" +
                "id=" + id +
                ", cityname='" + cityname + '\'' +
                ", sspotname='" + sspotname + '\'' +
                ", picture='" + picture + '\'' +
                ", introduce='" + introduce + '\'' +
                '}';
    }
}
